package com.luo.dt.seata.tcc.service;


import com.luo.dt.common.model.result.RespResult;
import com.luo.dt.seata.tcc.model.dto.BusinessDto;
import com.luo.dt.seata.tcc.model.entity.Order;

/**
 * 业务服务 - 接口类
 *
 * @author luohq
 * @date 2022-12-03
 */
public interface BusinessService {

    /**
     * 创建订单
     *
     * @param businessDto 业务参数
     * @return 响应结果
     */
    RespResult<Order> handleBusinessAt(BusinessDto businessDto);

}
